package Day01;

import java.util.Scanner;

public class Demo07 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一段数字： ");
        int i = sc.nextInt();
        System.out.println(i);
        System.out.println("请输入字符");
        String s = sc.next();//全部接受，空格之后后面内容不打印
        System.out.println("请输入下一个字符");
        String m = sc.nextLine();//接受一行，这两行不能同时用

    }

}
